
import { createSSRApp } from "vue";
import { createPinia } from "pinia";
import App from "./App";
// Plugins
import plugins from './plugins'
export function createApp() {
  const app = createSSRApp(App);
  // app.config.globalProperties.URL = "https://pms.apisev.cn/";
  // app.config.globalProperties.$URL = 'http://localhost:8080/';
  const pinia = createPinia();
  app.use(pinia);
  app.use(plugins);
  return {
    app,
    pinia,
  };
}